Skip to main content

ESX Installation

tip

Using ox_inventory? Check out the Ox_inventory Installation guide!

  1. Open the config.weapons.lua file located in your es_extended folder.

  2. Add the following code snippet to the weapons file:

es_extended/config.weapons.lua:256
{name = 'WEAPON_STUNGUN', label = TranslateCap('weapon_stungun'), tints = Config.DefaultWeaponTints, components = {}},
-- Line below
{name = 'WEAPON_SPEEDRADAR', label = TranslateCap('weapon_speedradar'), tints = Config.DefaultWeaponTints, components = {}},
  1. Next, go to the locales folder in your es_extended directory and open the language file corresponding to your preferred language.

  2. Add the following entry to the locale file:

es_extended/locales/en.lua:162
['weapon_vintagepistol'] = 'Vintage Pistol',
-- Line below
['weapon_speedradar'] = 'Police speed gun',
caution

Remember to restart your server after making these changes for them to take effect.